Skip to content

Conversation

@fabricebegue
Copy link

On PHP 8.4 when we sent a transactional email, some deprecated messages are log

Message log detail : Deprecated: Brevo\Client\Api\TransactionalEmailsApi::__construct(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in /var/www/app/vendor/getbrevo/brevo-php/lib/Api/TransactionalEmailsApi.php on line 72

Message log : Deprecated: Brevo\Client\Api\TransactionalEmailsApi::__construct(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in /var/www/app/vendor/getbrevo/brevo-php/lib/Api/TransactionalEmailsApi.php on line 72
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
@sonarqubecloud
Copy link

@sigkoro
Copy link

sigkoro commented Feb 11, 2025

This pull request should be accepted in order to migrate to PHP 8.4
Thank you

@coatpont
Copy link

coatpont commented Mar 2, 2025

how can we get this merged, please advise on the process - this is creating a lot of noise in our log files

@nclavaud
Copy link

This PR should fix #57.

But as stated by @LaurentBrieu in the above issue, this fix will break compatibility with PHP < 7.1 and as such, the minimum PHP version should be updated in composer.json and I guess this will require a major release.

Much needed indeed!

@Renrhaf
Copy link

Renrhaf commented Mar 17, 2025

+1 !

@brei0x
Copy link

brei0x commented Mar 25, 2025

+1

@Huluti
Copy link

Huluti commented Mar 27, 2025

+1!

1 similar comment
@thomasfaure
Copy link

+1!

@nclavaud
Copy link

@sowmyahora2001 @nik-sib @preetishishodia7 would you please consider merging this, stop supporting PHP 5.6/7.0, and tag a new version? 🙏

@nclavaud
Copy link

I think commit 89b2fb8 included in release v2.0.5 solved this issue.

@remialvado
Copy link

I think commit 89b2fb8 included in release v2.0.5 solved this issue.

I did on TransactionalEmailsApi but not on all other :( Do you plan a larger fix ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants